package com.zyh.sqc.controller;

import com.zyh.sqc.service.StateQueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StateQueryController {
    @Autowired
    private StateQueryService service;

    @GetMapping("/query-report/{appName}/{username}/{uuid}")
    public String queryReport(@PathVariable("appName") String appName,@PathVariable("username") String username,@PathVariable("uuid") String uuid){
        return service.queryReport(appName, username, uuid);
    }
}
